<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>修改 | 外卖配送信息系统</title>
    <script type="text/javascript" src="js/first.js"></script>
    <script type="text/javascript" src="js/change.js"></script>
    <link rel="stylesheet" type="text/css" href="css/main.css"/>
    <link rel="stylesheet" type="text/css" href="css/more.css"/>
    <link rel="icon" href="img/favicon.ico"/>
</head>
<body>
<div class = "Change">

<div>
    </br>
    <a href="page.html">
        <img src="/img/back.png" alt="back">
    </a>
    </br>
    <a href="javascript:changeFunc(0)" id="changeInfoTag">修改信息&nbsp;&nbsp;&nbsp;</a>
    <a href="javascript:changeFunc(1)">修改密码</a>
</div>
    </br>

<div class = "changeInfo" id="changeInfo">
    <form>
        <img src="/img/person.png" alt="back"></br>
        <label>姓名：<br/></br>
            <input type="text" id="name"/>
        </label>
        <br/>
        <br/>
        <label>
            <input type="button" onclick="changeInfo()" value="修改"/>
        </label>
    </form>
</div>

<div class = "changePassword" id="changePassword" style="display: none">
    <form>
        <label>旧密码：<br/>
            <input type="password" id="oldPwd"/>
        </label>
        <br/>
        <label>新密码：<br/>
            <input type="password" id="newPwd"/>
        </label>
        <br/>
        <label>再输入一次新密码：<br/>
            <input type="password" id="againPwd"/>
        </label>
        <br/>
        <br/>
        <label>
            <input type="button" onclick="changePassword()" value="修改"/>
        </label>
    </form>
</div>

<br/>
<p id="changeHint" style="text-align:center; color: red"></p>
</div>
</body>
</html>